package com.herench.bunch.clinic.agent.impl;

import com.herench.bunch.clinic.agent.ClinicAgent;
import com.herench.bunch.clinic.dao.ClinicDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author luoxiaoming on 18-10-16 上午9:59
 * @email luoxiaoming@herench.com
 */


@Component
public class ClinicAgentImpl implements ClinicAgent {

    @Autowired
    private ClinicDao clinicDao;

    @Override
    public List<Map<String,Object>> checkBill(Map<String, Object> params) {
        params.put("examType","");
        params.put("examDevice","");
        params.put("examDateTime","");
        params.put("inStatus","");
        params.put("reporter","");
        params.put("reportDateTime","");
        params.put("scheduledDateTime","");
        params.put("cancelReason","");

        List<Map<String,Object>> resList = clinicDao.checkBill(params);
        return resList;
    }

    @Override
    public List<Map<String, Object>> insuranceType() {
        List<Map<String,Object>> resList = clinicDao.insuranceType();
        return resList;
    }

    @Override
    public List<Map<String, Object>> HospitalBill(Map<String, Object> params) {
        List<Map<String,Object>> resList = clinicDao.HospitalBill(params);
        return resList;
    }

    @Override
    public List<Map<String, Object>> queryCert(Map<String, Object> params) {
        List<Map<String,Object>> resList = clinicDao.QueryCert(params);
        return resList;
    }

    @Override
    public List<Map<String, Object>> QueryAppointMsg(Map<String, Object> params) {
        List<Map<String,Object>> resList = clinicDao.QueryAppointMsg(params);
        return resList;
    }

}
